package com.qfedu.mapper;

import com.qfedu.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author ghy
 * @version V1.0
 * @date 2022/06/21
 **/
@Mapper
public interface UserMapper {
    @Insert("insert into tb_user (user_name,password,name,age,email) values(#{userName},#{password},#{name},#{age},#{email})")
    void addUser(User user);
}
